import http from '../utils/http'
//地址列表
export function addrList(params) {
	return http.get('addrList', params)
}
//收货地址编辑/添加
export function saveAddress(params) {
	return http.post('saveAddress', params)
}
//地址详情
export function detailAddr(params) {
	return http.get('detailAddr', params)
}
//设置默认地址
export function setDefaultAddr(params) {
	return http.post('setDefaultAddr', params)
}
//删除地址
export function deleteAddr(params) {
	return http.get('deleteAddr', params)
}
//获取省市区列表
export function getRegionList(params) {
	return http.get('getRegionList', params)
}
//收藏列表
export function userCollectList(params) {
	return http.get('userCollectList', params)
}
//足迹列表
export function userFootList(params) {
	return http.get('userFootList', params)
}
//删除收藏数据
export function batchCancelUserCollect(params) {
	return http.post('batchCancelUserCollect', params)
}
//删除足迹数据
export function batchCancelUserFoot(params) {
	return http.post('batchCancelUserFoot', params)
}
//找货记录
export function historyFindGoods(params) {
	return http.get('historyFindGoods', params)
}
//找货服务
export function findGoods(params) {
	return http.post('findGoods', params)
}
//企业认证
export function authCompany(params) {
	return http.post('authCompany', params)
}
//金融服务
export function finaceSetting() {
	return http.get('finaceSetting')
}


// 账单列表
export function userBillList(params) {
	return http.get('userBillList', params)
}
//账户信息
export function companyAccount() {
	return http.get('getCompanyAccount')
}
//账单详情
export function userBillRecordList(params) {
	return http.get('userBillRecordList', params)
}
//联系客服
export function customer(params) {
	return http.get('customer', params)
}

